#ifndef REGISTER_H
#define REGISTER_H

#include <QDialog>
#include "loginManage.h"

namespace Ui {
class Register;
}

class Register : public QDialog
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = 0);
    ~Register();

    void setParent(LoginManage *dialog);

    void setTiteName(const QString &value);

    void setUserInfo();

private slots:
    void on_pushButton_ok_clicked();

    void on_pushButton_cancel_clicked();

private:
    Ui::Register *ui;
    LoginManage *loginM;
    QString titeName;
};

#endif // REGISTER_H
